@extends('layouts.front')

@section('content')
@push('styles')
<style>
.m-store .weui-cell {
    padding: .45rem .4rem;
}
body {
    margin-bottom: 3.2rem !important;
}
</style>
@endpush


<div class="m-store">
    <div class="m-info">
        <div class="m-info-l">
            <img class="avator" src="{{ $user['avatar'] }}" alt="">
            <div class="m-info-delt">
                <span class="name">{{ $user['name'] }}</span>
                <span class="address">{{ $user['address'] }}</span>
            </div>
        </div>
    </div>

    <div class="weui-cells">
        @if($shop)
        <a class="weui-cell weui-cell_access order-cell" href="/member/withdrawal">
            <div class="weui-cell__bd">
                <p>我的余额</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
        @endif

        <a class="weui-cell weui-cell_access order-cell" href="/member/mstore">
            <div class="weui-cell__bd">
                <p>我发布的</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>

        @if($shop)
        <a class="weui-cell weui-cell_access" href="/member/shop/order">
            <div class="weui-cell__bd">
                <p>我卖出的</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
        @endif

        <a class="weui-cell weui-cell_access" href="/member/order">
            <div class="weui-cell__bd">
                <p>我买到的</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
    </div>

    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="/member/certification">
            <div class="weui-cell__bd">
                <p>我的认证</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
        <a class="weui-cell weui-cell_access" href="/member/bankCard">
            <div class="weui-cell__bd">
                <p>银行账户</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
        @if($shop)
        <a class="weui-cell weui-cell_access" href="/member/account">
            <div class="weui-cell__bd">
                <p>管理账号</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
        @endif
    </div>

    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="/member/address#/address">
            <div class="weui-cell__bd">
                <p>管理收货地址</p>
            </div>
            <div class="weui-cell__ft">
            </div>
        </a>
    </div>

    <div class="weui-cells">
        <a class="weui-cell weui-cell_access" href="javascript:;">
            <div class="weui-cell__bd">
                <p>客服电话</p>
            </div>
            <div class="weui-cell__ft">
                029-88888888
            </div>
        </a>
    </div>
</div>

@section('tabbar')
    @parent
@endsection

@push('scripts')
@endpush
@endsection
